<style scoped>
.mian{
    height: 100%;
    width: 100%;
    background: url('https://4myblog.oss-cn-beijing.aliyuncs.com/treasure/bg/question/match_bg.jpg');
    background-repeat:no-repeat;
    background-position:center center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.result{
    font-size: 45px;
    color: white;
}
</style>

<template>
    <div class="mian">
        <div class="result">{{this.$route.query.result === 'Y'?'胜利':'失败'}}</div>
    </div>
</template>

<script>
export default {
    name: 'result',
    data () {
        return {
            
        }
    },
    beforeDestroy(){
        this.$websocket.close();
    }
}
</script>